<?php
/**
 * Created by PhpStorm.
 * User: tom_xia
 * Date: 2018/6/8
 * Time: 12:04
 * 用户信息
 */
require_once dirname(__DIR__) . "/common.php";

use app\cls\tom\Response;
use app\cls\tom\Tools;

if(empty($_GET["user_uuid"])){
    Response::output(-1,"参数错误");
}
$userUUID = $_GET["user_uuid"];
if(!Tools::isLegalUUID($userUUID)){
    Response::output(-1,"参数错误");
}
$userService = new \app\service\User();
$userInfo = $userService->getUserInfo($userUUID);
Response::output(0,"ok",$userInfo);

